home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 76 / XENIATGM66.iso / Indiana Jones / Indiana Jones.exe / RESOURCE / PREVIEW.GOB / cog_tem_fog.cog < prev    next >
Text File  |  1999-11-15  |  2KB  |  70 lines

  1. # Jones 3D Cog Script
  2. #
  3. # TEM_Fog.cog
  4. #
  5. # Fog machine for Palawan Temple. 
  6. #
  7. # [TRM]
  8. #
  9. # (C) 1999 LucasArts Entertainment Co. All Rights Reserved
  10. # ========================================================================================
  11.  
  12. symbols
  13.  
  14.     message     startup
  15.     message     entered
  16.     
  17.     #sector      ba
  18.     #sector      crawl
  19.     #sector      boss
  20.     sector      emptyBox
  21.                        
  22.     #surface     mm
  23.     
  24.     vector      red         local
  25.     vector      blue        local
  26.     vector      cave1       local
  27.     
  28. end
  29.  
  30. # ========================================================================================
  31.  
  32. code
  33.  
  34. startup:
  35.  
  36.     cave1 = VectorSet(0.10, 0.10, 0.10);
  37.     blue = VectorSet(0.50, 0.50, 0.60);
  38.     red = VectorSet(0.50, 0.05, 0.05);
  39.     
  40.     #SetFog(1, red, 20, 80);
  41.     #SetFog(1, red, 15, 180);    #70 150
  42.  
  43.     return;
  44.     
  45. # ========================================================================================
  46.  
  47. entered:
  48.  
  49.     # indy enters crawl space to boulder room
  50.     #if(GetSenderRef() == crawl)
  51.     #{
  52.     #    Print("entered crawl");
  53.     #    SetFog(1, red, 15, 180); # 20, 80
  54.     #}
  55.     
  56.     #if(GetSenderRef() == boss)
  57.     #{
  58.     #    Print("entered boss");
  59.     #    SetFog(1, red, 15, 180);    # 70, 150
  60.     #}
  61.     
  62.     if(GetSenderRef() == emptyBox) SetFog(1, '0.50 0.50 0.60', 40, 350);
  63.         
  64.     return;
  65.         
  66. # ========================================================================================
  67.  
  68. end
  69.  
  70.